/**
 * 
 */
package nl.boektrust.btsoep.shared.model;

import java.io.Serializable;

import org.w3c.dom.DocumentFragment;

import com.google.gwt.user.client.rpc.IsSerializable;

/**
 * @author rao3
 *
 */
public class Text implements Serializable,IsSerializable {
	/**
	 * 
	 */
	private static final long serialVersionUID = 3855984944100499640L;
	private String text;
	private TextType textType;
	
	/**
	 * @param text
	 * @param textType
	 */
	public Text(String text, TextType textType) {
		super();
		this.text = text;
		this.textType = textType;
	}
	
	/**
	 * @param text
	 * @param textType
	 */
	public Text() {
		this("",TextType.UNDEFINED);
	}

	/**
	 * @return the text
	 */
	public String getText() {
		return text;
	}

	/**
	 * @param text the text to set
	 */
	public void setText(String text) {
		this.text = text;
	}

	/**
	 * @return the textType
	 */
	public TextType getTextType() {
		return textType;
	}

	/**
	 * @param textType the textType to set
	 */
	public void setTextType(TextType textType) {
		this.textType = textType;
	}
	


}
